package com.haixiaoke.saas.repository.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 日历价格对象 biz_calendar_price
 *
 * @author 嗨小克
 * @date 2023-05-23
 */
@Data
public class CalendarPrice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    private Long id;

    /**
     * 起始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;

    /**
     * 价格
     */
    private Double price;

    /**
     * 房屋id
     */
    private String houseId;

    /**
     * 房屋配置id
     */
    private Long allocationId;

}
